package lesson8;

import org.springframework.stereotype.Component;

@Component
public class ContentBasedFilter implements Filter {
public ContentBasedFilter(){
    super();
    System.out.println("content-based filter constructor called");
}
    public String[] getRecommendations(String movie) {
        
        return new String[] {"Happy Feet", "Ice Age", "Shark Tale"};
    }

}